package dxn.nl.file.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import dxn.nl.file.biz.po.ConsumerInfoPo;

public interface ConsumerBaseService extends IService<ConsumerInfoPo> {
    boolean lockId(long id,int typeCode,String consumerThread);

    boolean unlockId(long id,int typeCode,int consumerStatus,String consumerThread);

    int removeDeadlockId();

    boolean refreshLockId(long id,int typeCode, String consumerThread);
}
